package com.ouran.webservice.server.impl;

import com.ouran.model.user.User;
import com.ouran.webservice.server.WebserviceTest;


/**
 * 基于cxf 3.2.5 webservice服务定义实现类
 * @author lijiajun
 * @version 1.0
 * Date 2018/07/28
 */
public class WebServiceTestImpl implements WebserviceTest {

    @Override
    public User getUserByName(User user) {
    	
    	System.out.println("获取到的用户信息为："+user.getId()+user.getPassWord()+user.getUserName());
    	
    	user.setId(2);
    	user.setPassWord("2");
    	user.setUserName("2");
        return user;
    }

    @Override
    public void setUser(String username) {
        System.out.println("username:" + username);
    }

    @Override
    public boolean getuser(String name, String password) {
        return false;
    }

    @Override
    public boolean test3() {
        return false;
    }

}